<?php
if(empty($arFwPaths)){
    die('access denided');
}

$objConfig = new Config();

$objConfig->setConfig('FW_PATHS', $arFwPaths);

$objConfig->setConfig('PREFIX', array(
    'CONTROLLER' => 'C_',
    'MODEL'      => 'M_'
));

$objConfig->setConfig('RULES_FOR_CORRECTION_REQUEST', array(
    '/^test\-test$/i' => 'dump/test-test',
    '/^index(.*)/'    => 'main/index$1'
));

$objConfig->setConfig('DEFAULT_ROUTES', array(
    'controller' => 'default',
    'method'     => 'index'
));

$objConfig->settingModeOff();